[NTG-context] Re: Struggling with the distance and right margin text

2024-03-22 Thread Ursula Hermann
n=paragraph, > background=color, > backgroundcolor=lightgray, > leftoffset=.5\bodyfontsize, > rightoffset=.5\bodyfontsize, > topoffset=.5\bodyfontsize, > bottomoffset=.5\bodyfontsize, > frame=off,] > \margintext{\blackrule[color=black, height=0.10ex, width=1cm

[NTG-context] Re: Struggling with the distance and right margin text

2024-03-15 Thread Pablo Rodriguez via ntg-context
  backgroundcolor=lightgray, >   leftoffset=.5\bodyfontsize, >   rightoffset=.5\bodyfontsize, >   topoffset=.5\bodyfontsize, >   bottomoffset=.5\bodyfontsize, >   frame=off,] >   \margintext{\blackrule[color=black, height=0.10ex, width=1cm]\\} >   \blackrule[color=black, height=0.10ex, wid

[NTG-context] Struggling with the distance and right margin text

2024-03-15 Thread Ursula Hermann
=paragraph, background=color, backgroundcolor=lightgray, leftoffset=.5\bodyfontsize, rightoffset=.5\bodyfontsize, topoffset=.5\bodyfontsize, bottomoffset=.5\bodyfontsize, frame=off,] \margintext{\blackrule[color=black, height=0.10ex, width=1cm]\\} \blackrule[color=black, height=0.10ex

[NTG-context] Re: How can I do this?

2024-03-08 Thread Otared Kavian
=off] \setupnarrower[left=0.80cm, right=0.80cm] \definehspace[oneem][0.5em] \setupinteraction [state=start, color=blue] \usecolors[svg] \setupinteraction [state=start, contrastcolor=cornflowerblue] \starttext \margintext {1.1.1} {\bf Beispiel 3.2.17 (Vertauschung von All- und

[NTG-context] How can I do this?

2024-03-06 Thread Ursula Hermann
, alternative=serried, ] \definetextbackground[GrayBackground][ location=paragraph, background=color, backgroundcolor=lightgray, leftoffset=.8\bodyfontsize, rightoffset=.8\bodyfontsize, topoffset=.5\bodyfontsize, bottomoffset=.5\bodyfontsize, frame=off,] \margintext{\blackrule[color=black

[NTG-context] Re: Square right aligned

2024-02-09 Thread Ursula Hermann
Dear Otared and Dear Hraban, So this is my little example: works perfect, after our correspondence. \starttext \startalignment[normal] \margintext {1.1.1} {\bf Beispiel 3.2.17 (Vertauschung von All- und Existenzquantor).} \par {\it Sei M die Menge aller Männer und F die Menge aller Frauen. Die

[NTG-context] Re: Square right aligned

2024-02-08 Thread Ursula Hermann
r List, I am at Home and have the following example.: \starttext \margintext {1.1.1} {\bf Beispiel 3.2.17 (Vertauschung von All- und Existenzquantor).} \par {\it Sei M die Menge aller Männer und F die Menge aller Frauen. Die Aus-\par sage h(m, f) sei ”m ist verliebt in f“. Unter diesen Vorausset

[NTG-context] Re: Square right aligned

2024-02-08 Thread Otared Kavian
, but it seems that in the latest version I have (2024.01.23), the command \qed is broken. Best regards: Otared > On 8 Feb 2024, at 12:23, Ursula Hermann wrote: > > Dear List, > > I am at Home and have the following example.: > > \starttext > \margintext {1.1.1

[NTG-context] Square right aligned

2024-02-08 Thread Ursula Hermann
Dear List, I am at Home and have the following example.: \starttext \margintext {1.1.1} {\bf Beispiel 3.2.17 (Vertauschung von All- und Existenzquantor).} \par {\it Sei M die Menge aller Männer und F die Menge aller Frauen. Die Aus-\par sage h(m, f) sei ”m ist verliebt in f“. Unter diesen

[NTG-context] Re: Section number in the margin and the section title followed by paragraph!

2024-01-27 Thread Wolfgang Schuster
;" I just wanted to know if there already an option defined to achieve the desired result. \setuphead [subsection] [alternative=margin] %\setuphead [subsection] [alternative=inmargin] %\setuphead [subsection] [alt

[NTG-context] Re: Problem with the paragraph

2023-12-18 Thread Ursula Hermann
[GrayBackground][ location=paragraph, background=color, backgroundcolor=lightgray, leftoffset=.5\bodyfontsize, rightoffset=.5\bodyfontsize, topoffset=.5\bodyfontsize, bottomoffset=.5\bodyfontsize, frame=off,] \margintext{\blackrule[color=black, height=0.10ex, width=1cm]\\} \blackr

[NTG-context] Re: Problem with the paragraph

2023-12-15 Thread Bruce Horrocks
rnative=serried, ] \definetextbackground[GrayBackground][ location=paragraph, background=color, backgroundcolor=lightgray, leftoffset=.5\bodyfontsize, rightoffset=.5\bodyfontsize, topoffset=.5\bodyfontsize, bottomoffset=.5\bodyfontsize, frame=off,] \margintext{\blackrule[color=black, height=0.

[NTG-context] Re: Problem with the paragraph

2023-12-14 Thread Wolfgang Schuster
, rightoffset=.5\bodyfontsize, topoffset=.5\bodyfontsize, bottomoffset=.5\bodyfontsize, before={\switchtobodyfont[global]}, after={}, frame=off,] \margintext{\blackrule[color=black, height=0.10ex, width=1cm]\\}\blackrule[color=black, height=0.10ex, width=13.50cm] \starttext \margintext {1.1.1

[NTG-context] Problem with the paragraph

2023-12-13 Thread Ursula Hermann
,] \margintext{\blackrule[color=black, height=0.10ex, width=1cm]\\}\blackrule[color=black, height=0.10ex, width=13.50cm] \starttext \margintext {1.1.1} \starttext \bf{Beispiel 3.2.17 (Vertauschung von All- und Existenzquantor)}. \stoptext \starttext {\it \par Sei M die Menge aller Männer und F die Menge aller

[NTG-context] Colored Paragraph

2023-12-05 Thread Ursula Hermann
, alternative=serried, ] \margintext{\blackrule[color=black, height=0.25ex, width=1cm]\\}\blackrule[color=black, height=0.25ex, width=15cm] \starttext \margintext {1.1.1} \startparagraph It was essential for Hasselt to have a bridge across the Zwarte Water river. The bishop of Utrecht gave

[NTG-context] Re: It works after a few changes but ..

2023-11-23 Thread Ursula Hermann
, width=fit, distance=0.5em, alternative=serried, ] \margintext{\blackrule[color=black, height=0.25ex, width=1cm]\\}\blackrule[color=black, height=0.25ex, width=15cm] \starttext \margintext {1.1.1} \starttheorem The square on the hypotenuse is equal to the sum of the squares

[NTG-context] Re: It works after a few changes but ..

2023-11-21 Thread Bruce Horrocks
> On 20 Nov 2023, at 08:54, Ursula Hermann wrote: > > Dear Bruce, > > Yes, I need also margintext. What do you want to appear in the margin: the theorem number or the section number of the current section? In other words, what should replace the "hard coded" 2.1

[NTG-context] Re: It works after a few changes but ..

2023-11-20 Thread Ursula Hermann
Dear Bruce, Yes, I need also margintext. Many thanks Uschi -Ursprüngliche Nachricht- Von: Bruce Horrocks Gesendet: Samstag, 18. November 2023 15:48 An: ntg-context mailing list Betreff: [NTG-context] Re: It works after a few changes but .. > On 17 Nov 2023, at 14:06, Urs

[NTG-context] Re: It works after a few changes but ..

2023-11-18 Thread Bruce Horrocks
> On 17 Nov 2023, at 14:06, Ursula Hermann wrote: > > \margintext{2.1.1}{\starttheorem {The square on the hypotenuse is equal > to the sum of the squares on the other two sides. Ach is das schön, dass du > da bist} > \stoptheorem The spurious parentheses seem to be a sid

[NTG-context] It works after a few changes but ..

2023-11-17 Thread Ursula Hermann
, and also my text with the margin: \definemargindata [MyInMargin][inright] \definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt,width=1cm] \margintext{\blackrule[color=black, height=0.25ex, width=1cm]\\}\blackrule[color=black, height=0.25ex, width=7cm] \setupenumerations

[NTG-context] Re: Text and Remark

2023-11-17 Thread Ursula Hermann
Dear Bruce Yes, it was better. But i show you how it should loook: \definemargindata [MyInMargin][inright] \definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt,width=1cm] \margintext{\blackrule[color=black, height=0.25ex, width=1cm]\\}\blackrule[color=black, height

[NTG-context] My example, with \blackrule, works perfect

2023-09-13 Thread Ursula Hermann
Dear List, I just finished my example, did some changes today and it works perfect \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \margintext{\blackrule[color=black, height=0.05ex, width=1cm

[NTG-context] Re: \dontleavethemode

2023-09-12 Thread Wolfgang Schuster
Ursula Hermann schrieb am 12.09.2023 um 11:19: Dear List, I have done an little example with a \blackrule: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \starttext \margintext{\blackrule[color=black, height=0.05ex

[NTG-context] \dontleavethemode

2023-09-12 Thread Ursula Hermann
Dear List, I have done an little example with a \blackrule: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \starttext \margintext{\blackrule[color=black, height=0.05ex, width=1cm]\\Me

[NTG-context] (no subject)

2023-09-05 Thread Ursula Hermann
Dear List, After compiling the following example, which is from February 2021: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \showframe \starttext \margintext{\hairline\\{Me

[NTG-context] After compiling

2023-09-04 Thread Ursula Hermann
bruary 2021: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \showframe \starttext \margintext{\hairline\\{Me}}\dontleavehmode\hairline \startformula a^n + b^n = c^n. \stopformula \stoptext

[NTG-context] Re:

2023-09-04 Thread Ursula Hermann
,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \showframe \starttext \margintext{\hairline\\{Me}}\dontleavehmode\hairline \startformula a^n + b^n = c^n. \stopformula \stoptext I get: Command Line: context.exe

[NTG-context] Userdata environment

2023-04-03 Thread Fabrice Couvreur via ntg-context
=\vbox,align=middle,stack=yes] \defineuserdata [margintext] [alternative=margintext] \defineuserdataalternative [margintext] [renderingsetup=userdata:margintext] \startsetups [userdata:margintext] \margindata [inright] [ style={\switchtobodyfont[10pt]}, width=\rightmarginwidth

Re: [NTG-context] How to make something appear to the right of every paragraph?

2022-10-13 Thread Max Chernoff via ntg-context
\showlines false Four line paragraph \\ Four line paragraph \\ Four line paragraph \\ Four line paragraph \samplefile{bryson} \showlines true \samplefile{knuth} \stoptext These are both kind of hacky though. I'd recommend that you use

Re: [NTG-context] How to make something appear to the right of every paragraph?

2022-10-11 Thread Hans Hagen via ntg-context
.                              Here is yet another    paragraph. You can    see it also has the three liens. This is just for a segment of the book, not every paragraph in the book. \starttext \def\StartHack {\margintext [location=right,style=] {\thinrules[n=3

Re: [NTG-context] Soft-hyphen in Antykwa.

2021-06-26 Thread Rik Kabel
ection] [alternative=margintext, before={\blank[big]\blank}, insidesection={\blank[-line]\setupindenting[next]}, style=\HeadFont\tf] \setupindenting[yes, small] \setuptagging [state

Re: [NTG-context] \blackrule and margin

2021-02-23 Thread Otared Kavian
Sorry, I didn't send the correct example… \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \showframe \starttext \margintext{\hairline}\dontleavehmode\hairline \startformula \margintext{Me

Re: [NTG-context] \blackrule and margin

2021-02-23 Thread Otared Kavian
Hi Uschi, You may add \dontleavehmode at the right place as in the following: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \showframe \starttext \margintext{\hairline\\{Me

Re: [NTG-context] \blackrule and margin

2021-02-23 Thread Ursula Hermann
Dear Pablo! I have done some changes. How can I get both hairlines in the same height: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \showframe \starttext \margintext{\hairline\\{Me

Re: [NTG-context] \blackrule and margin

2021-02-22 Thread Ursula Hermann
width=4cm] > \showframe > \starttext > \blackrule > \margintext{Me} > \blackrule[color=black, height=0.5ex, width=1cm] > \stoptext > \startformula > a^n + b^n = c^n. > \stopformula > \stoptext > What i want is a\blackrule over the margintext, but i do not get what I &g

Re: [NTG-context] \blackrule and margin

2021-02-19 Thread Hans Hagen
On 2/19/2021 4:02 PM, Ursula Hermann wrote: Dear List, i have the little following example: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm,              leftmargindistance=0.2cm,              backspace=2.9cm,              width=4cm] \showframe \starttext \blackrule \margintext

Re: [NTG-context] \blackrule and margin

2021-02-19 Thread Pablo Rodriguez
gt; \showframe > \starttext > \blackrule > \margintext{Me} > \blackrule[color=black, height=0.5ex, width=1cm] > \stoptext > \startformula > a^n + b^n = c^n. > \stopformula > \stoptext  > What i want is a\blackrule over the margintext, but i do not get what I > wantend.  Hi Us

[NTG-context] \blackrule and margin

2021-02-19 Thread Ursula Hermann
Dear List, i have the little following example: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \showframe \starttext \blackrule \margintext{Me} \blackrule[color=black, height=0.5ex, width

Re: [NTG-context] tikzpicture in margin

2021-02-15 Thread Hans Hagen
On 2/14/2021 10:43 PM, Aditya Mahajan wrote: On Sun, 14 Feb 2021, Jigé wrote: Hi all. I'm trying to place a TikZ picture in the margin. Here is a small example: \usemodule[tikz] \setuplayout[backspace=4cm, topspace=2cm, height=middle] \starttext \input{lorem} \margintext{I have discovered

Re: [NTG-context] tikzpicture in margin

2021-02-14 Thread Aditya Mahajan
On Sun, 14 Feb 2021, Jigé wrote: > Hi all. > > I'm trying to place a TikZ picture in the margin. > Here is a small example: > > \usemodule[tikz] > \setuplayout[backspace=4cm, topspace=2cm, height=middle] > \starttext > \input{lorem} > \margin

[NTG-context] tikzpicture in margin

2021-02-14 Thread Jigé
Hi all. I'm trying to place a TikZ picture in the margin. Here is a small example: \usemodule[tikz] \setuplayout[backspace=4cm, topspace=2cm, height=middle] \starttext \input{lorem} \margintext{I have discovered a truly             marvelous proof ...  but             this margin is too narrow

Re: [NTG-context] tikzpicture in margin

2021-02-14 Thread Henning Hraban Ramm
> Am 14.02.2021 um 16:11 schrieb Jigé : > > Hi all. > > I'm trying to place a TikZ picture in the margin. > Here is a small example: > > \usemodule[tikz] > \setuplayout[backspace=4cm, topspace=2cm, height=middle] > \starttext > \input{lorem} > \

Re: [NTG-context] Store images and text in the right margin

2020-07-06 Thread Fabrice Couvreur
s on what you want to achieve exactly, I think > > \useMPlibrary[dum] > > \setuppapersize[A4] > > \setuplayout > [width=12cm, >rightmargin=5cm] > > \defineuserdata [margintext] [alternative=margintext] > > \defineuserdataalternative [margintext] > [rend

Re: [NTG-context] Store images and text in the right margin

2020-07-06 Thread Taco Hoekwater
Hi Fabrice, Like this maybe? It depends on what you want to achieve exactly, I think \useMPlibrary[dum] \setuppapersize[A4] \setuplayout [width=12cm, rightmargin=5cm] \defineuserdata [margintext] [alternative=margintext] \defineuserdataalternative [margintext] [renderingsetup

[NTG-context] Fwd: Store images and text in the right margin

2020-07-06 Thread Fabrice Couvreur
margintext which would allow to include both text and figures ? Thank you Fabrice Le sam. 4 juil. 2020 à 11:36, Fabrice Couvreur a écrit : > Hi Marco, > Without being a specialist, I knew the \blank command, but I too thought > that there must be another solution. > Thank you for your hel

Re: [NTG-context] Store images and text in the right margin

2020-07-03 Thread Marco Patzer
On Fri, 3 Jul 2020 08:40:22 +0200 Fabrice Couvreur wrote: > Thanks, it works but only for a comment and a picture. Indeed, if I > add a comment and an image, the first image is placed on the second > comment. Fabrice > > \starttext > \startuserdata[margintext] > \input

Re: [NTG-context] Store images and text in the right margin

2020-07-03 Thread Fabrice Couvreur
Hi Marco, Thanks, it works but only for a comment and a picture. Indeed, if I add a comment and an image, the first image is placed on the second comment. Fabrice \starttext \startuserdata[margintext] \input ward \stopuserdata \marginfigure{\externalfigure[dummy][width=\rightmarginwidth,location

[NTG-context] Store images and text in the right margin

2020-07-02 Thread Fabrice Couvreur
] \setupmargindata [marginfigure][command=\vbox,align=middle] \defineuserdata [margintext] [alternative=margintext] \defineuserdataalternative [margintext] [renderingsetup=userdata:margintext] \startsetups [userdata:margintext] \margindata [inright] [%style=\smallbodyfont, style

Re: [NTG-context] margintext and floats in the margin

2020-01-31 Thread Jan Willem Flamma
ble to put some short notes in the margin, together with a float? > Below is an example, which puts the float on top of the text in the margin. > The option « stack=yes » works fine for the margintext when there is no > float, but it does not seems to be an option which puts the figu

[NTG-context] margintext and floats in the margin

2020-01-29 Thread Otared Kavian
Hi, Is it possible to put some short notes in the margin, together with a float? Below is an example, which puts the float on top of the text in the margin. The option « stack=yes » works fine for the margintext when there is no float, but it does not seems to be an option which puts the figure

[NTG-context] margintext and floats in the margin

2020-01-26 Thread Otared Kavian
Hi, Is it possible to put some short notes in the margin, together with a float? Below is an example, which puts the float on top of the text in the margin. The option « stack=yes » works fine for the margintext when there is no float, but it does not seems to be an option which puts the figure

Re: [NTG-context] several blocks of text in the margin

2019-05-01 Thread Henning Hraban Ramm
th=12cm, > rightmargin=5cm] > > \definemathmatrix [pmatrix][matrix:parentheses][simplecommand=MATRIX] > > \unexpanded\def\pcent#1{#1\,\%} > > \defineuserdata [margintext] [alternative=margintext] > > \defineuserdataalternative [margintext] [renderingsetup=userdata

[NTG-context] several blocks of text in the margin

2019-04-27 Thread Fabrice Couvreur
Hi How to put several blocks of text in the margin without them encroaching each other ? Thank. Fabrice \setuplayout [width=12cm, rightmargin=5cm] \definemathmatrix [pmatrix][matrix:parentheses][simplecommand=MATRIX] \unexpanded\def\pcent#1{#1\,\%} \defineuserdata [margintext] [alternative

Re: [NTG-context] Text in the margin

2019-04-10 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 10.04.2019 um 11:58: Hi, Wolfgang suggested this to put text in the margin but since some updates it does not work anymore : \setuplayout [width=12cm,    rightmargin=5cm] \defineuserdata [margintext] [alternative=margintext] \defineuserdataalternative [margintext

[NTG-context] Text in the margin

2019-04-10 Thread Fabrice Couvreur
Hi, Wolfgang suggested this to put text in the margin but since some updates it does not work anymore : \setuplayout [width=12cm, rightmargin=5cm] \defineuserdata [margintext] [alternative=margintext] \defineuserdataalternative [margintext] [renderingsetup=userdata:margintext

[NTG-context] Empty \margintext causes Lua error

2019-03-06 Thread Henri Menke
Dear list, MWE: \starttext \margintext{} \stoptext Error: ...ext/tex/texmf-context/tex/context/base/mkiv/node-nut.lua:736: table index is nil Please fix. Cheers, Henri ___ If your question is of interest

[NTG-context] horizontal headalternatives ignore indentnext

2019-02-27 Thread Henri Menke
lua \ifconditional\headissomewhere \strc_sectioning_stay_on_this_line % test case: alternative=margintext and \startparagraph .. \else %\hskip\headnumberdistance\s!plus\headnumberdistance\s!minus.25\dimexpr\headnumberdistance\relax \hskip\headtextdistance\re

[NTG-context] Spurious breaks in export when blank line ends paragraph

2018-08-21 Thread Rik Kabel
. The breaks disappear in shorter paragraphs, and disappear when the margintext is not present, but appear when margintext is present and the paragraph exceeds some length which I have not worked to determine. Is my understanding of the space rules incorrect, or is this a bug? Since some breaks

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Rik Kabel
and not easily controlled as with \llap and \rlap. The code started out more like: Correcting the record: I misspoke in part above; margintext does follow the narrowed paragraph shape. -- Rik ___ If your question

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Rik Kabel
On 8/13/2018 10:28, Rik Kabel wrote: On 8/13/2018 03:01, Hans Hagen wrote: On 8/13/2018 5:18 AM, Rik Kabel wrote:   \startparagraph % \dontleavehmode\llap{\Mark}\inlinebuffer[TestBuffer] % \ (first: \First, arg: \Arg)     \margintext{\Mark}     \setupparagraphintro[first][(first

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Rik Kabel
  \startparagraph % \dontleavehmode\llap{\Mark}\inlinebuffer[TestBuffer] % \ (first: \First, arg: \Arg)     \margintext{\Mark}     \setupparagraphintro[first][(first: \First, arg: \Arg)]    %\setupparagraphintro[next][(first: \First, arg: \Arg)]     \getbuffer[TestBuffer

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Hans Hagen
\llap{\Mark}\inlinebuffer[TestBuffer] % \ (first: \First, arg: \Arg) \margintext{\Mark} \setupparagraphintro[first][(first: \First, arg: \Arg)] %\setupparagraphintro[next][(first: \First, arg: \Arg)] \getbuffer[TestBuffer] \stopparagraph

[NTG-context] startlines in margin

2018-07-21 Thread Rik Kabel
: \setupbackend [export=yes] \starttext \subject{\tex{startlines} in margin} \startparagraph \margintext{\startlines abc def ghi jkl mno pqr \stoplines} \input knuth \stopparagraph \subject{\tex{crlf} in margin} \startparagraph \margintext{abc def\crlf ghi

Re: [NTG-context] In-Margin Title + whitespace/indent bug

2018-02-20 Thread Wolfgang Schuster
Wolfgang Schuster <mailto:schuster.wolfg...@gmail.com> 19. Februar 2018 um 21:28 This is a shortened version of the original question with a section title in the margin (\setuphead[...][alternative=margintext]) where \noindent is part of the code (strc-ren.mkiv). Wolfgang Hans

Re: [NTG-context] In-Margin Title + whitespace/indent bug

2018-02-19 Thread Hans Hagen
\directcheckedvspacing{disable}% \input ward \stoptext Wolfgang \noindentation doesn't have the side effects of \noindent This is a shortened version of the original question with a section title in the margin (\setuphead[...][alternative=margintext]) where \noindent is part of the code (str

Re: [NTG-context] In-Margin Title + whitespace/indent bug

2018-02-19 Thread Wolfgang Schuster
Wolfgang \noindentation doesn't have the side effects of \noindent This is a shortened version of the original question with a section title in the margin (\setuphead[...][alternative=margintext]) where \noindent is part of the code (strc-ren.mkiv). Wolfgang ___

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-07 Thread Pablo Rodriguez
ntnext=no]). I think there is a bug here, because \setuphead[alternative=margintext] prevents "indentnext=no" from working. You might use "insidesection=\noindenting", but this only works if you don’t use \starpar...\stoppar. And this is only a workaround. > 2. Look at th

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-06 Thread Idris Samawi Hamid ادريس سماوي حامد
ection] [alternative=margintext, color=white, style=\tfxx, before=, after=, commandafter={\setupparagraphintro[first] [{{\bf \getmarking[sectionnumber][current] \hspace[big]}}]}] \setuphead[subs

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-06 Thread Pablo Rodriguez
% section > 3.0.1 % subsubsection > > 4 % section > 4.1% subsection > 4.1.1 % subsubsection > > How can we automate this? Hi Idris, if you only need a printed version, I think the following approach might help: \setupwhitespace[big] \setuphead[section] [alter

Re: [NTG-context] Disable overlay on chapter pages

2017-08-03 Thread Mikael P. Sundqvist
On Thu, Aug 3, 2017 at 7:29 PM, Pablo Rodriguez <oi...@gmx.es> wrote: > On 08/03/2017 06:03 PM, Hans Hagen wrote: >> [...] >> \definemargindata >>[margintext:chapter] >>[margintext] >>[width=\outermarginwidth, >>

Re: [NTG-context] Disable overlay on chapter pages

2017-08-03 Thread Pablo Rodriguez
On 08/03/2017 06:03 PM, Hans Hagen wrote: > [...] > \definemargindata >[margintext:chapter] > [margintext] >[width=\outermarginwidth, > location=outer, > align=flushouter] > [...] > \definemargindata[margintext:section] >[margintext]

Re: [NTG-context] Disable overlay on chapter pages

2017-08-03 Thread Hans Hagen
\setuppagenumbering[alternative=doublesided] \definemargindata[margintext:chapter] [margintext] [width=\rightmarginwidth, location=outer, align=flushleft] \defineheadalternative [margintext:chapter] [margintext] [margintext

Re: [NTG-context] Disable overlay on chapter pages

2017-08-03 Thread Jean-Pierre Delange
] \definemargindata[margintext:chapter] [margintext] [width=\rightmarginwidth, location=outer, align=flushleft] \defineheadalternative [margintext:chapter] [margintext] [margintext=margintext:chapter] \definemargindata[margintext:section

Re: [NTG-context] Disable overlay on chapter pages

2017-08-02 Thread Mikael P. Sundqvist
also printed on the same >> page as the chapter starts, which I find unnecessary. > > Hi Mikael, > > margintext as alternative for \setuphead may be a better approach: > > \showframe > \setuppagenumbering[alternative=doublesided] > > \definemargindata[margintext:

Re: [NTG-context] Disable overlay on chapter pages

2017-08-02 Thread Pablo Rodriguez
On 08/02/2017 12:00 PM, Mikael P. Sundqvist wrote: > Hi, > > I'm trying to print chapter and section titles in the margins, and it > works fine, except that the chapter title is also printed on the same > page as the chapter starts, which I find unnecessary. Hi Mikael, margintext

Re: [NTG-context] Problems with heads using margintext alternative

2017-07-30 Thread Hans Hagen
to align text in margin data: \setuphead [chapter] [style=\tfxx, number=no, alternative=margintext, align=middle] \setupmargindata [inmargin] [style=\tfxx, align=middle] \starttext \chapter{Chapter} \input

Re: [NTG-context] Problems with heads using margintext alternative

2017-07-30 Thread Pablo Rodriguez
e to align text in margin data: \setuphead [chapter] [style=\tfxx, number=no, alternative=margintext, align=middle] \setupmargindata [inmargin] [style=\tfxx, align=middle] \starttext \chapter{Chapter} \input jojo

Re: [NTG-context] Problems with heads using margintext alternative

2017-07-29 Thread Hans Hagen
On 7/29/2017 7:34 PM, Rik wrote: Willi, Pablo, and list, Willi, I understand that the overprint of the margin can be managed by changing the default layout. The left margin box displayed by \showframe using the default layout clearly shows the margin extending past the edge of the page. I

Re: [NTG-context] Problems with heads using margintext alternative

2017-07-29 Thread Rik Kabel
On 2017-07-29 14:18, Pablo Rodriguez wrote: On 07/29/2017 07:34 PM, Rik wrote: Pablo, The \inmargin commands do suffer from the same problem; you need simply change marg to marg marg marg to see it. I simply meant that both margin and paragraph start at the same page height. This is

Re: [NTG-context] Problems with heads using margintext alternative

2017-07-29 Thread Pablo Rodriguez
On 07/29/2017 07:34 PM, Rik wrote: > Pablo, > > The \inmargin commands do suffer from the same problem; you need simply > change marg to marg marg marg to see it. I simply meant that both margin and paragraph start at the same page height. This is different from \chapter. Pablo --

Re: [NTG-context] Problems with heads using margintext alternative

2017-07-29 Thread Rik
Rodriguez wrote: On 07/23/2017 09:48 PM, Rik Kabel wrote: The following example demonstrates two problems with alternative=margintext in \setuphead: 1. When used with start/stop sectioning, text following the title may be set on the wrong line. Hi Rik, the issue comes

Re: [NTG-context] Problems with heads using margintext alternative

2017-07-29 Thread Pablo Rodriguez
On 07/23/2017 09:48 PM, Rik Kabel wrote: > The following example demonstrates two problems with > alternative=margintext in \setuphead: > > 1. When used with start/stop sectioning, text following the title may > be set on the wrong line. Hi Rik, the issue comes with

Re: [NTG-context] Problems with headers using margintext alternative

2017-07-29 Thread Willi Egger
lowing example demonstrates two problems with alternative=margintext >> in \setuphead: >> • When used with start/stop sectioning, text following the title may be >> set on the wrong line. >> • Without regard to the type of sectioning, margintext titles may spill

Re: [NTG-context] Problems with headers using margintext alternative

2017-07-29 Thread Rik
Bump. The problem persists two updates later. In the picture below, the green line represents the edge of the page. Does anyone else get the same result? -- Rik On 2017-07-23 15:48, Rik Kabel wrote: The following example demonstrates two problems with alternative=margintext in \setuphead

[NTG-context] Problems with headers using margintext alternative

2017-07-23 Thread Rik Kabel
The following example demonstrates two problems with alternative=margintext in \setuphead: 1. When used with start/stop sectioning, text following the title may be set on the wrong line. 2. Without regard to the type of sectioning, margintext titles may spill over the left edge

[NTG-context] Footnotes in paragraph form + annotating them in margin

2017-06-20 Thread Michelle Rodzis
{Text.\margintext[scope=local]{Annotation.}} but since I have \definenote[myCustomNote][paragraph=yes], no text in the margin is displayed unless I delete this parameter (which unfortunately is no option for my document layout). Do you have any ideas how to solve this? Thanks in advance and best

Re: [NTG-context] two suggestions for \setuphead

2017-03-26 Thread Hans Hagen
{Section title} \dorecurse{5}{\subsection{Subsection title}}} \stoptext Using align, the margin or inmargin alternative doesn’t work. (And align doesn’t work with the margintext alternative.) Wouldn’t it be possible to set up both alignments, for numbers in margin and for title inside

Re: [NTG-context] two suggestions for \setuphead

2017-03-23 Thread Pablo Rodriguez
\starttext \dorecurse{5}{\section{Section title} \dorecurse{5}{\subsection{Subsection title}}} \stoptext Using align, the margin or inmargin alternative doesn’t work. (And align doesn’t work with the margintext alternative.) Wouldn’t it be possible to set up both alignments, for n

Re: [NTG-context] two suggestions for \setuphead

2017-03-22 Thread Hans Hagen
be an even greater value for the alternative option in \setuphead when it could be combined with margin, inmargin and margintext. This may be reached with a special command, but avoiding a extra hack would be very helpful for newbies. Another issue with margin numbering is alignment: \showframe

[NTG-context] two suggestions for \setuphead

2017-03-15 Thread Pablo Rodriguez
in \setuphead when it could be combined with margin, inmargin and margintext. This may be reached with a special command, but avoiding a extra hack would be very helpful for newbies. Another issue with margin numbering is alignment: \showframe \starttext \setuphead[section][alternative

Re: [NTG-context] marginal heads as standard option?

2016-10-26 Thread Pablo Rodriguez
On 10/26/2016 01:50 PM, Hans Hagen wrote: > [...] > I'll add something > > % \definemargindata > % [margintext:chapter] > % [margintext:section] > > % \defineheadalternative > % [margintext:chapter] > % [margintext] > % [margintext=margintext:chapter]

Re: [NTG-context] marginal heads as standard option?

2016-10-26 Thread Hans Hagen
everse" is also a value for the "alternative", Many thanks for your help, I'll add something % \definemargindata % [margintext:chapter] % [margintext:section] % \defineheadalternative % [margintext:chapter] % [margintext] % [margintext=margintext:chapter] % \setuphead

[NTG-context] Margin text running off bottom of page

2016-04-03 Thread Robert Krug
\margintext{The book I am working with has marginal annotations that act as a précis of the argument in the main text. Some of them are several sentances long.} text. \stoptext Robert ___ If your question is of interest

Re: [NTG-context] Arabic Letters are disjointed and reversed in headers and margin

2016-01-18 Thread Wolfgang Schuster
Ibn Saeed <mailto:ibnsa...@gmail.com> 18. Januar 2016 um 08:15 By using right \setupmargindata [margintext] [align=r2l] and \setupalign[r2l] The margin arabic text appears correctly But the arabic texts in the header is still the same. \setupheader[style=\righttoleft] Wo

[NTG-context] Page Numbers change after 9 to 01 - 11 -21 - 31 and so on.

2016-01-18 Thread Ibn Saeed
] \definefontsynonym [Serif] [Arabic-Regular] [features=arabic] \definefontsynonym [SerifBold] [Arabic-Bold][features=arabic] \stoptypescript \starttypescript [Arabic] \definetypeface [Arabic] [rm] [serif] [arabic] [default] \stoptypescript \setupmargindata[margintext] [align=r2l

Re: [NTG-context] Arabic Letters are disjointed and reversed in headers and margin

2016-01-17 Thread Ibn Saeed
> > \setupmargindata > [margintext] > [align=r2l] > > use \setupalign[r2l] and \righttoleft and not the dir primitives > I did not understand how to use "use \setupalign[r2l] and \righttoleft and not the dir primitives" Do you mean that i should rem

Re: [NTG-context] Arabic Letters are disjointed and reversed in headers and margin

2016-01-17 Thread Ibn Saeed
Ibn Saeed gmail.com> writes: > > > > > > \setupmargindata > > [margintext] > > [align=r2l] > > > > use \setupalign[r2l] and \righttoleft and not the dir primitives > > > > I did not understand how to use > > "use \

Re: [NTG-context] Arabic Letters are disjointed and reversed in headers and margin

2016-01-17 Thread Hans Hagen
\chapter{الآجرومية} \margintext{الآجرومية} الحمد لله رب العالمين، وصلى الله وسلم وبارك على عبده ورسوله نبينا محمد وعلى آله وصحبه أجمعين، أما بعد: فلا يخفى على من له أدنى عناية بالعلم الشرعي لا سيما ما يتعلق بالكتاب العزيز والسنة النبوية لا يخفى عليه أهمية معرفة اللغة العربية بفنونها العشرة أو الإثني

[NTG-context] Arabic Letters are disjointed and reversed in headers and margin

2016-01-17 Thread Ibn Saeed
=\blank,after=,grid=both] \setupbackgrounds[header][text][frame=off, bottomframe=on] \setupheadertexts [{\getmarking[chapter]}][{صفحة }] [{صفحة }][{\getmarking[chapter]}] \setupinmargin[stack=yes] \starttext \chapter{الآجرومية} \margintext{الآجرومية} الحمد لله رب

[NTG-context] \margintext / \inmargin doesn't work as only thing after header

2015-03-19 Thread Philipp A.
example: \enableregime[utf-8] \mainlanguage[de] \starttext \subject{Works} 1 \margintext{a} \subject{Doesn’t work} \margintext{b} \stoptext ___ If your question is of interest to others as well, please

  1   2   >